package com.example.palette.bean;


public class ColorBean {

    private int id;
    private String colorOrigin;
    private String pressureRange;
    private String colorUpdate;
    private int maxPressure;
    private int minPressure;
    private boolean isSelected;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getColorOrigin() {
        return colorOrigin;
    }

    public void setColorOrigin(String colorOrigin) {
        this.colorOrigin = colorOrigin;
    }

    public String getPressureRange() {
        return pressureRange;
    }

    public void setPressureRange(String pressureRange) {
        this.pressureRange = pressureRange;
    }

    public String getColorUpdate() {
        return colorUpdate;
    }

    public void setColorUpdate(String colorUpdate) {
        this.colorUpdate = colorUpdate;
    }

    public int getMaxPressure() {
        return maxPressure;
    }

    public void setMaxPressure(int maxPressure) {
        this.maxPressure = maxPressure;
    }

    public int getMinPressure() {
        return minPressure;
    }

    public void setMinPressure(int minPressure) {
        this.minPressure = minPressure;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public ColorBean(int id, String colorOrigin, String pressureRange, String colorUpdate, int maxPressure, int minPressure, boolean isSelected) {
        this.id = id;
        this.colorOrigin = colorOrigin;
        this.pressureRange = pressureRange;
        this.colorUpdate = colorUpdate;
        this.maxPressure = maxPressure;
        this.minPressure = minPressure;
        this.isSelected = isSelected;
    }

    @Override
    public String toString() {
        return "ColorBean{" +
                "id=" + id +
                ", colorOrigin='" + colorOrigin + '\'' +
                ", pressureRange='" + pressureRange + '\'' +
                ", colorUpdate='" + colorUpdate + '\'' +
                ", maxPressure=" + maxPressure +
                ", minPressure=" + minPressure +
                ", isSelected=" + isSelected +
                '}';
    }
}
